class UserLogin {
  String? msg;
  String? code;
  Data? data;

  UserLogin({this.msg, this.code, this.data});

  UserLogin.fromJson(Map<String, dynamic> json) {
    msg = json['msg'];
    code = json['code'];
    data = json['data'] != null ? Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['msg'] = msg;
    data['code'] = code;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class Data {
  String? telno;
  String? code;

  Data({
    this.telno,
    this.code,
  });

  Data.fromJson(Map<String, dynamic> json) {
    telno = json['tel_no'];
    code = json['code'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['tel_no'] = this.telno;
    data['code'] = this.code;
    return data;
  }
}
